package com.theaf.basemodule.common.condition;

import com.theaf.core.repo.base.Condition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:songwenke
 * @Description:用户查询条件
 * @Date:create in 15:53 2018/2/22
 * @Modified By:
 **/
@Data
public class UserCondition extends Condition {
    @ApiModelProperty("账号")
    private String userName;
    @ApiModelProperty("手机")
    private String mobile;
    @ApiModelProperty("机构")
    private Long orgId;
    @ApiModelProperty("岗位")
    private Long posId;
    @ApiModelProperty("姓名")
    private String cname;
    @ApiModelProperty("是否包含下级")
    private boolean childed = true;
}
